package org.simplextensions.registry.phaselisteners;

import org.simplextensions.registry.Extension;
import org.simplextensions.registry.IExtensionRegistry;

public class ExtensionEvent {

	private final IExtensionRegistry extensionRegistry;
	private final Extension extension;

	public boolean doit = true;

	public IExtensionRegistry getExtensionRegistry() {
		return extensionRegistry;
	}

	public Extension getExtension() {
		return extension;
	}

	public ExtensionEvent(IExtensionRegistry extensionRegistry, Extension extension) {
		this.extensionRegistry = extensionRegistry;
		this.extension = extension;
	}

}
